package shyvana;

import java.util.Random;

public class Bot extends AbstractPlayer{
	public Bot(String name, Table table){
		super(name, table);
	}

	@Override
	public void turn(){
		Log.instance.turnStart(this);
		Random r = new Random();
		int a = r.nextInt(4);
		int b = 0;
		for(int i=0; i<a; i++)
			b |= 1<<r.nextInt(5);
		Log.instance.swapCards(this,hand.swap(b));
		Log.instance.turnEnd(this);
	}

}
